#ifndef _SHELL_TOKENINFO_BEAN_H_
#define _SHELL_TOKENINFO_BEAN_H_

#include "Beans.h"
#include "Message.h"
#include <vector>
using namespace std;
class TokenInfo : public Bean
{
	public:
	TokenInfo();
	~TokenInfo();
	void reset();
	TokenInfo* clone();
	//令牌动态id
	int64 tokenId;
	//资源id
	int32 resourtId;
	//幸运值
	int8 luckNum;
	//剩余提炼次数
	int8 shenyuNum;
	//龙魂id

	vector<int32> dragonSpirit;
	//添加的属性

	vector<AptitudeInfo*> aptitudeInfos;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
